<template>
	<view>
		<cu-custom :key="'header'+headerKey"  bgColor="bg-gradual-blue-light" title="登录异常页面"></cu-custom>
		
		<view class="bg-white padding-lr">
			<view class="solids-bottom padding-xs flex align-center">
				<view class="flex-sub text-center">
					<view class="solid-bottom text-xsl padding">
						<text class="basefont icon-close-circle-fill text-red"></text>
					</view>
					<view class="padding">{{errorMsg}}</view>
					<view>
						<button class="cu-btn shadow margin-tb-sm lg bg-blue-light"
						 style="background-color: #1388ED;"
						  @click="goHome">返回首页</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		onShow() {
			this.headerKey += 1;
		},
		data() {
			return {
				headerKey:0,
				errorMsg:'浙里办未登录或者金华人才系统异常',
			}
				
		},
		onLoad: function (option) {
			if(option.errorMsg){
				this.errorMsg=option.errorMsg
			}
			
			
		},
		methods:{
			goHome(){
				this.$Router.push({
					name: 'home',
					params:{}
				});		
			}
		}
	}
</script>

<style>
</style>
